home *** CD-ROM | disk | FTP | other *** search
- // -[Keep_Heading]-
-
-
- // -[Copyright_Mesg]-
- // --------------------------------------------------------------- //
- // (c) Copyright 1993-1994. Step Ahead Software Pty Limited. All rights reserved.
- // Class Source Filename: GRAPHAPP.cpp
- // Description:
- // Graphics application developed with C++Creator. This class is derived from
- // TApplication.
- // --------------------------------------------------------------- //
-
-
- #include "GRAPHAPP.h"
-
-
- // -[Keep_cpp_Extras]-
- #include "mainwin.h"
-
- // -[Module_Function_Decs]-
-
-
- // -[Module_Data_Decs_Def]-
-
-
- // -[Global_Data_Defs]-
-
-
- // -[Static_Member_Data_Defs]-
-
-
- // -[Function_Defs]-
-
- // Constructs the application object.
- GraphicApplication::GraphicApplication(LPSTR AName, HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
- : TApplication(AName, hInstance, hPrevInstance, lpCmdLine, nCmdShow)
- {
- }
-
- // Constructs the main window of the application.
- void
- GraphicApplication::InitMainWindow(void)
- {
- MainWindow = new GraphicWindow(NULL, Name);
- }
-
-
- // WinMain - required by windows to kick start your application.
- int PASCAL
- WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
- {
- GraphicApplication GraphApp("C++Creator Step 3 - Simple Graphics Example",
- hInstance, hPrevInstance, lpCmdLine, nCmdShow);
-
- GraphApp.Run();
- return GraphApp.Status;
- }
-
-
- // -[Persistent]-